package com.lagou.pojo;

import javax.sql.DataSource;
import java.util.HashMap;

/**
 * @author: jie.zhao
 * @create: 2021/01/23 18:34
 */
public class Configuration {

    private DataSource dataSource;

    private HashMap<String,MappedStatement> sqlMapperMap;

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
        this.sqlMapperMap = new HashMap<String, MappedStatement>();
    }

    public HashMap<String, MappedStatement> getSqlMapperMap() {
        return sqlMapperMap;
    }

    public void setSqlMapperMap(HashMap<String, MappedStatement> sqlMapperMap) {
        this.sqlMapperMap = sqlMapperMap;
    }
}
